home *** CD-ROM | disk | FTP | other *** search
/ IBM OEM Software Product … CD For PC Manufacturers / IBM OEM Software - Product Sampler CD for PC Manufacturers.iso / InternetIntranets / Notes / LOTUS024.DSK / CHARSETS.NCF < prev    next >
Text File  |  1997-07-30  |  9KB  |  181 lines

  1. ; Character Set Configuration for Internet Protocols
  2. ; This file is used to configure character sets for both input and output
  3. ; for the Internet Protocols (Web Navigator, IMAP, POP3, NNTP, etc.).
  4. ; Everything below an "EXIT" command is treated as a comment.
  5.  
  6. EXIT
  7.  
  8. ; The following commands are supported: ALIAS, ATTACHMENT-ENCODING, 
  9. ; CHARSET-FONT-FACE, CHARSET-FONT-SIZE, DEFAULT-FONT-FACE, DEFAULT-FONT-SIZE,
  10. ; DETECT-ORDER, ENCODED-FALLBACK, ENCODING, EXIT, FALLBACK, and LEADBYTE
  11.  
  12.  
  13. ; For each command, a brief synopsis and example is given.  Note that
  14. ; these appear below the "EXIT" command above; therefore, these command 
  15. ; examples will be ignored even though they are not preceded by the
  16. ; comment character ";".  To use the commands, move them above the EXIT command.
  17.  
  18. ; All commands and parameters are not case sensitive.
  19.  
  20. ; In general, the builtin defaults can be used for most installations.
  21.  
  22. ; For each command that takes a charset-name-or-id parameter, the parameter
  23. ; can either be a name, such as iso-8859-1, or the number, in decimal, for the
  24. ; character set from the SDK, such as 32 for iso-8859-1
  25.  
  26. ; For each command that takes a encoding-method parameter, the parameter
  27. ; can be "quoted-printable", "base64", "7bit", "8bit", or "guess".  "guess"
  28. ; indicates to analyze the data and use "quoted-printable" or "base64" 
  29. ; depending on whether the data is composed of primarily US-ASCII characters.
  30. ; As an abbreviation, "q", "b", "7", "8", and "g" can be used.
  31.  
  32. ; Commands
  33.  
  34. ; ALIAS <charset-alias> <charset-name-or-id>
  35. ; Defines an alias for an existing character set for input.  The
  36. ; charset-alias must contain only US-ASCII characters.
  37. ; This allows recognition of non-standard character set names
  38. ; sent by clients.
  39. ; If charset-alias begins with an asterisk (*), it is used as the
  40. ; name for output too.
  41. ; Example: Define alias so that on input the non-standard name "shift_jis"
  42. ;          will be recognized as being the same character set as the
  43. ;          predefined standard x-sjis character set.
  44. ALIAS shift_jis x-sjis
  45. ; Example: When exporting mail, use name "iso-8859" rather than "iso-8859-1"
  46. ALIAS *iso-8859 iso-8859-1
  47.  
  48. ; ATTACHMENT-ENCODING <encoding-method>
  49. ; Specifies the encoding to use when exporting file attachments.
  50. ; For this command, only the encoding methods base64, quoted-printable,
  51. ; and guess are supported.  That is, 7bit and 8bit are not allowed.
  52. ; Example: Use base64 encoding when exporting file attachments.
  53. ATTACHMENT-ENCODING b
  54.  
  55. ; CHARSET-FONT-FACE <charset-name-or-id> <face-id>
  56. ; Specifies the font face to use when importing data from the designated
  57. ; character set.  This supersedes the setting done by the DEFAULT-FONT-FACE
  58. ; command.  This command allows you to use fixed width fonts for some
  59. ; character sets and variable width fonts for others.
  60. ; Valid values for Face-ID are 0 for Roman, 1 for Swiss, and 4 for Typewriter
  61. ; face.  The actual font used will depend on the operating system and the
  62. ; localization.  
  63. ; Example: Use a variable width font when importing Thai (cp874).
  64. CHARSET-FONT-FACE cp874 0
  65.  
  66. ; CHARSET-FONT-SIZE <charset-name-or-id> <font-size>
  67. ; Specifies the font size to use when importing data from the designated
  68. ; character set.  This supersedes the setting done by the DEFAULT-FONT-SIZE
  69. ; command.  
  70. ; Valid values are from 4 to 32.
  71. ; Example: Use a 12 point font when importing from a Japanese character set.
  72. CHARSET-FONT-SIZE iso-2022-jp 12
  73. CHARSET-FONT-SIZE x-euc-jp 12
  74. CHARSET-FONT-SIZE x-sjis 12
  75.  
  76. ; DEFAULT-FONT-FACE <face-id>
  77. ; Specifies the default font face to use when importing data.  The default
  78. ; font face is used except when superseded by the CHARSET-FONT-FACE command.
  79. ; Valid values for Face-ID are 0 for Roman, 1 for Swiss, and 4 for Typewriter
  80. ; face.  The actual font used will depend on the operating system and the
  81. ; localization.  
  82. ; Example: Use a fixed width typewriter font by default.
  83. DEFAULT-FONT-FACE 4
  84.  
  85. ; DEFAULT-FONT-SIZE <font-size>
  86. ; Specifies the default font size to use when importing data.  The default
  87. ; font size is used except when superseded by the CHARSET-FONT-SIZE command.
  88. ; Valid values are from 4 to 32.
  89. ; Example: Use a 10 point font by default.
  90. DEFAULT-FONT-SIZE 10
  91.  
  92. ; DETECT-ORDER [optional Country1] [optional Country2]
  93. ;              [optional Country3] [optional Country4]
  94. ; Specifies the order of Asian countries/languages to check when autodetecting
  95. ; the character set for incoming data.  The default is to not do any
  96. ; Asian autodetection unless the country/language is China, Japan, Korea or Taiwan.
  97. ; In that case, the local country/language is used.
  98. ; Valid country names are CN for China, JP for Japan, KR for Korea, and TW for 
  99. ; Taiwan.
  100. ; Example: Do no Asian autodetection.
  101. DETECT-ORDER
  102. ; Example: Try Japanese only
  103. DETECT-ORDER JP
  104. ; Example: Try Korean and then Japanese
  105. DETECT-ORDER KR JP
  106.  
  107. ; ENCODED-FALLBACK [optional charset-name-or-id]
  108. ; Specifies the character set to use when an incoming encoded word 
  109. ; (RFC1522/2047) character set is not recognized.  No parameter means to just
  110. ; leave input as an encoded word.  Specifying no encoded fallback (the 
  111. ; default) allows you to see in the client the originally specified
  112. ; character set name that was unrecognize.  This gives you an opportunity
  113. ; to determine the intended character set and to add an ALIAS for future 
  114. ; sessions. 
  115. ; Example: If an unrecognized character set name is detected in an encoded
  116. ;          word on input, leave it as an encoded word, such as
  117. ;          =?unknown?q?example?=
  118. ENCODED-FALLBACK
  119. ; Example: Assume Big5 character set if character set name is not recognized
  120. ENCODED-FALLBACK big5
  121.  
  122. ; ENCODING <charset-name-or-id> <header encoding-method> [body encoding-method]
  123. ;          [filename encoding-method]
  124. ; Specifies the output encoding to use for a character set under different
  125. ; conditions (in the header, in the body, and for filenames in the header).
  126. ; If only header encoding method is specified, it is used for all three.
  127. ; If two encoding methods are specified, then filename encoding will be
  128. ; the same as the header encoding.
  129. ; Example: Encode iso-8859-1 using quoted printable
  130. ENCODING iso-8859-1 q
  131. ; Example: Encode big5 using 8bit in the header, base64 in the body, and
  132. ;          8bit for filenames.
  133. ENCODING Big5 8 b 8
  134.  
  135. ; EXIT
  136. ; End configuration file prematurely.  Treat everything below this
  137. ; command as a comment.
  138. ; Example:
  139. EXIT
  140.  
  141. ; FALLBACK <charset-name-or-id> [optional charset-name-or-id]
  142. ; Specifies character set to use when incoming data does not have a character
  143. ; set specified and when the data can not be identified using autodetection.
  144. ; If one parameter is specified, then the specified character set is used.
  145. ; If two parameters are specified, then the first is used if the incoming
  146. ; data is only 7bit characters and the second is used if it contains 8bit
  147. ; characters.
  148. ; Example: Use iso-8859-1 for incoming data where the character set cannot
  149. ;          be determined.
  150. FALLBACK iso-8859-1
  151. ; Example: Use iso-8859-1 for 7bit incoming data where the character set cannot
  152. ;          be determined; EUC-JP for 8bit data
  153. FALLBACK iso-8859-1 euc-jp
  154.  
  155. ; LEADBYTE <leadbyte-number> <header-charset-name-or-id>
  156. ;          [optional body-charset-name-or-id> 
  157. ;          [optional filename-charset-name-or-id]
  158. ; This command is used to determine what character set to use for output 
  159. ; messages based on the LMBCS text in the document.  The leadbyte-parameter
  160. ; is the LMBCS lead byte number.  Lead byte numbers can be 1-8, 11, 12, or
  161. ; 14-31.  The commonly used lead bytes are
  162. ; 1 = Western European, 2 = Greek, 3 = Hebrew, 4 = Arabic, 5 = Cyrillic, 
  163. ; 6 = Central European, 7 = Farsi, 8 = Turkish, 11 = Thai, 12 = Urdu,
  164. ; 16 = Japanese, 17 = Korean, 18 = Taiwanese, 19 = Chinese.
  165. ; By default, except for Korean, the default header character set,
  166. ; body character set, and filename character set are the same for a given
  167. ; lead byte.  For Korean, euc-kr is used for the header and filename and
  168. ; iso-2022-kr is used for the body.
  169. ; If only the header character set is specified, it is used for all three.
  170. ; If two character sets are specified, then the filename character set
  171. ; will be the same as the header character set.
  172. ; Example: for Japanese characters, use euc-jp in header and filename; 
  173. ;          x-sjis in body
  174. LEADBYTE 16 euc-jp x-jis
  175. ; Example: for Western European characters, use iso-8859-1
  176. LEADBYTE 1 iso-8859-1
  177.  
  178. ; End
  179.  
  180.  
  181.